<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>

  <div id="app">
    <div>{{text}}</div>
  </div>

  <script src="../vue.js"></script>
  <script>
    const {ref} = Vue
    const app = Vue.createApp({
      data() {
        return {
          
        }
      },
      setup(props) {
        const text = ref('ref测试')

        return {
          text
        }
      }
    })

    app.mount('#app')
  </script>
</body>
</html>